/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

/**
 *
 * @author Miguel
 */
public abstract class FactoryDao {
    public final static int POSTGRES_FACTORY=1;
    public final static int WEBSERVICE_FACTORY=2;

    public static FactoryDao getFactoryDao(int a) {
        switch(a)
        {
            case 1:{return new PostgresFactoryDao();}
            case 2:{return null;}
        }
        return null;        
    }
    
    public abstract UsuarioDao getusuarioDao();
}
